const fs = require('fs')
const postcss = require('postcss')

const replaceDeepSyntax = require('./plugin')
const path = require('path')

const source = fs.readFileSync(path.resolve(__dirname, 'test.vue'), 'utf8')


postcss([replaceDeepSyntax]).process(source, {
  parser: {
    parse: 'vue'
  }
}).then(result => {
  console.log('then的回调');
})
